"""
file: run.py
Author: 城下秋草
Desc: 测试用例执行文件
"""
import os
import sys

# sys.path.append()
import pytest
from pom.util.paths import case_dir,allure_results,allure_report

if __name__ == "__main__":
    pytest.main(["-vs",case_dir,f"--alluredir={allure_results}","--clean-alluredir"])
    cmd = f"allure generate {allure_results} -o {allure_report} --clean"
    os.system(cmd)